<template>
  <div id="app">
    <router-view></router-view>
    <!-- <analyze-view></analyze-view> -->
    <!-- <setting-param-view></setting-param-view> -->
    <!-- <test-view></test-view> -->
  </div>
</template>

<script>

// import AnalyzeView from './views/AnalyzeDemo/AnalyzeView.vue'
// import SettingParamView from './views/AnalyzeDemo/SettingParamView.vue'
// import TestView from './views/AnalyzeDemo/TestView.vue';

export default {
  components: {},
  data(){
    return {
      // "message":"hello world"
    }
  }
}
const debounce = (fn, delay) => {
  let timer
   return (...args) => {
     if (timer) {
       clearTimeout(timer)
     }
     timer = setTimeout(() => {
       fn(...args)
     }, delay)
   }
}
  //解决ResizeObserver loop completed with undelivered notifications
const _ResizeObserver = window.ResizeObserver;
window.ResizeObserver = class ResizeObserver extends _ResizeObserver{
   constructor(callback) {
     callback = debounce(callback, 200);
     super(callback);
   }
}

</script>








<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>

